package com.lintesis.lintesismodel.users.Test;

import com.lintesis.lintesismodel.users.Role;
import com.lintesis.lintesismodel.common.hibernate.ConnectionManager;

public class RoleTest {

	public static void main(String args[]) {
		com.lintesis.lintesismodel.common.hibernate.ConnectionManager.beginTransaction();
		Role role = new Role();
		role.setDescription("Administrador del Sistema");
		role.setRoleName("Administrador");
		role.save();
		com.lintesis.lintesismodel.common.hibernate.ConnectionManager.commit();
	}

}
